package Imp.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "item-FourthService")
public interface openFeignFourth {
    @Transactional
    @GetMapping("/fourth/api/subtract")
    void subtract(@RequestParam(value = "id") Integer id , @RequestParam(value = "number") int number);
}
